
package com.our.dao;



import java.util.Date;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import com.our.model.Users;
@MapperScan
public interface UsersMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

	Integer sumForUserOfMonth(Date endTime);
  
    Users findByUsernameAndPassword(@Param("username")String username,@Param("password")String password);

    Object sumForUsersTotal(String str);

    int changeMoney(Users record);
    
    Users findByUsernameAndPassword(Users record);
    
    
    int tixian(Users record);

    int changeTixianCount();

	int changeTixianCount(int tixianCount);
	
	 Users selectByUsername(String username);



}